﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace Common.Buttons
{
    public partial class uctClose : UserControl
    {
        public uctClose()
        {
            InitializeComponent();
        }

        public DevComponents.DotNetBar.ButtonX Close
        {
            set { btnClose = value; }
            get { return btnClose; }
        }

        private void btnClose_Click(object sender, EventArgs e)
        {
            this.ParentForm.Close();
        }
    }
}
